package com.guigu.tms.commons.base.feign;

import com.guigu.tms.commons.base.entity.TruckType;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "tms-base",path = "/base/truckType",contextId = "truckTypehh")
public interface TruckTypeFeignClient {
    @GetMapping("/truckTypeAll")
    List<TruckType> list();
}
